Installing Jenkins on Amazon EC2 | Step-By-Step Guide

Below are the steps to guide the launch of an EC2 instance and install Jenkins on AWS EC2:

1. Launching an Amazon EC2 instance

Launch a virtual server in the Amazon Web Services (AWS) Elastic Compute Cloud (EC2) service and configure it with Jenkins, enabling you to deploy and run applications on scalable compute capacity within the AWS cloud infrastructure while utilizing Jenkins for continuous integration and deployment workflows.

Step 1: Open the AWS console. Click on the EC2 Service.

 

Step 2: Click on the Launch Instance button

 

Step 3: Type the Instance name – Ubuntu. Select the AMI – Ubuntu

 

2. Creating a key pair

How To A Create A Key Pairs In AWS-EC2 ? |Complete Tutorial – Read.

In the following step 4 we are selecting the existing key pair.

Step 1: Select the Instance type – t2.micro.Create or choose the existing Key pair – linux1

 

3. Creating a security group

What is Security Group in AWS and How To Create it? – Read.

In the following step we are selecting the existing security group.

Step 1: Create the security group or choose the existing security group. Open the Port. Confirm that port 8080 is open for traffic in your security groups. Jenkins uses this port by default.

  • 8080 – Jenkins
  • 80 – HTTP
  • 43 – HTTP

 

Step 2: Click on the Launch Instance Button

 

Install Jenkins on Amazon EC2: Step-by-Step GuidePrerequisites

Jenkins configuration in the EC2 instance on the Amazon Web Service Platform includes all steps in detail, which helps the user easily set up your Jenkins tools on the EC2 instance for continuous integration and continuous development. Nowadays, Jenkins has become a more popular tool as compared to others, and it is open source. It is free, and it is lightweight. Jenkins using the 8080 port. Jenkins code is available for everyone to contribute and add more features to this tool. It has a strong community and it has a number of plugins to do any type of work related to continuous integration and continuous development.

Prerequisites

Similar Reads

Installing Jenkins on Amazon EC2 | Step-By-Step Guide

Below are the steps to guide the launch of an EC2 instance and install Jenkins on AWS EC2:...

Connecting to your Linux instance

Establish a secure shell (SSH) connection to your AWS EC2 instance, allowing remote access to the server’s command-line interface for configuration, and management....

Downloading and installing Jenkins

1. Install java on vm...

Installing and configuring Jenkins

Deploy and configure the Jenkins automation server on your AWS EC2 instance....

Deleting your EC2 instance

Navigate to the “Instances” section in the left-hand navigation bar of the Amazon EC2 console. Locate the instance you want to terminate and select it....

Configure Jenkins in EC2 – FAQ’s

How to deploy Jenkins on AWS EC2?...

Contact Us